﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JChatCore.User;
using JChatData.UserMap;

namespace JChatSerVices.UserService
{
    public partial interface IUserService
    {
        #region
        List<User> GetAllUser();
        List<User> GetUserById(Guid _id);
        #endregion
        #region
        //TO DO: Generate a Ranđom string
        string RandomString();
        //TO DO: Remove special charaters in a string
        string RemoveSpecialCharater(string s);
        bool Login(string _username, string password);
        //TO DO: ADD, DELETE, UPDATE
        bool AddUser(User _user);
        bool UpdateUser(Guid _id,User _usertable);
        bool DeleteUser(Guid _id);
        #endregion
    }
}
